package com.dlsy.ygj.entity;

import java.sql.Date;
import java.util.List;

/**
 * FavouredRangeInfo entity. @author MyEclipse Persistence Tools
 */

public class FavouredRangeInfo implements java.io.Serializable {

	// Fields

	private Integer favouredRangeId;
	private String favouredRangeNo;
	private String favouredRangeName;
	private Integer consumptionMoney;
	private Integer maxNumber;
	private Integer mainNumber;
	private String mainToItem;
	private Integer deputyNumber;
	private String deputyToItem;
	private Date validatyBeginDate;
	private Date validatyEndDate;
	private String remark;
	private Integer storefrontId;
	private List<MainItemInfo> mainItemInfos;
	private List<MainItemInfo> deputyItemInfos;


	
	// Constructors

	/** default constructor */
	public FavouredRangeInfo() {
	}

	/** full constructor */
	public FavouredRangeInfo(String favouredRangeNo, String favouredRangeName,
			Integer consumptionMoney, Integer maxNumber, Integer mainNumber,
			String mainToItem, Integer deputyNumber, String deputyToItem,
			Date validatyBeginDate, Date validatyEndDate,
			String remark,List<MainItemInfo> mainItemInfos,List<MainItemInfo> deputyItemInfos) {
		this.favouredRangeNo = favouredRangeNo;
		this.favouredRangeName = favouredRangeName;
		this.consumptionMoney = consumptionMoney;
		this.maxNumber = maxNumber;
		this.mainNumber = mainNumber;
		this.mainToItem = mainToItem;
		this.deputyNumber = deputyNumber;
		this.deputyToItem = deputyToItem;
		this.validatyBeginDate = validatyBeginDate;
		this.validatyEndDate = validatyEndDate;
		this.remark = remark;
		this.mainItemInfos=mainItemInfos;
		this.deputyItemInfos=deputyItemInfos;
	}

	// Property accessors

	public Integer getFavouredRangeId() {
		return this.favouredRangeId;
	}

	public void setFavouredRangeId(Integer favouredRangeId) {
		this.favouredRangeId = favouredRangeId;
	}

	public String getFavouredRangeNo() {
		return this.favouredRangeNo;
	}

	public void setFavouredRangeNo(String favouredRangeNo) {
		this.favouredRangeNo = favouredRangeNo;
	}

	public String getFavouredRangeName() {
		return this.favouredRangeName;
	}

	public void setFavouredRangeName(String favouredRangeName) {
		this.favouredRangeName = favouredRangeName;
	}

	public Integer getConsumptionMoney() {
		return this.consumptionMoney;
	}

	public void setConsumptionMoney(Integer consumptionMoney) {
		this.consumptionMoney = consumptionMoney;
	}

	public Integer getMaxNumber() {
		return this.maxNumber;
	}

	public void setMaxNumber(Integer maxNumber) {
		this.maxNumber = maxNumber;
	}

	public Integer getMainNumber() {
		return this.mainNumber;
	}

	public void setMainNumber(Integer mainNumber) {
		this.mainNumber = mainNumber;
	}

	public String getMainToItem() {
		return this.mainToItem;
	}

	public void setMainToItem(String mainToItem) {
		this.mainToItem = mainToItem;
	}

	public Integer getDeputyNumber() {
		return this.deputyNumber;
	}

	public void setDeputyNumber(Integer deputyNumber) {
		this.deputyNumber = deputyNumber;
	}

	public String getDeputyToItem() {
		return this.deputyToItem;
	}

	public void setDeputyToItem(String deputyToItem) {
		this.deputyToItem = deputyToItem;
	}

	public Date getValidatyBeginDate() {
		return this.validatyBeginDate;
	}

	public void setValidatyBeginDate(Date validatyBeginDate) {
		this.validatyBeginDate = validatyBeginDate;
	}

	public Date getValidatyEndDate() {
		return this.validatyEndDate;
	}

	public void setValidatyEndDate(Date validatyEndDate) {
		this.validatyEndDate = validatyEndDate;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	public List<MainItemInfo> getDeputyItemInfos() {
		return deputyItemInfos;
	}

	public void setDeputyItemInfos(List<MainItemInfo> deputyItemInfos) {
		this.deputyItemInfos = deputyItemInfos;
	}

	public List<MainItemInfo> getMainItemInfos() {
		return mainItemInfos;
	}

	public void setMainItemInfos(List<MainItemInfo> mainItemInfos) {
		this.mainItemInfos = mainItemInfos;
	}

	public Integer getStorefrontId() {
		return storefrontId;
	}

	public void setStorefrontId(Integer storefrontId) {
		this.storefrontId = storefrontId;
	}

}